package academic.concordia.bankofquebec.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class CreditCardDescription implements Serializable {

	private static final long serialVersionUID = 1L;
	private int id;
	private double annualPercentageRate;
	private double minimumPaymentRate;
	private double minimumPaymentAmount;
	private int expirationYears;
	
	public CreditCardDescription(){
		this.id = 1;
		this.annualPercentageRate = 20;
		this.minimumPaymentRate = 4;
		this.minimumPaymentAmount = 10;
		this.expirationYears = 5;
	}
	
	public double getAnnualPercentageRate() {
		return annualPercentageRate;
	}
	
	public void setAnnualPercentageRate(double annualPercentageRate) {
		this.annualPercentageRate = annualPercentageRate;
	}
	
	public double getMinimumPaymentRate() {
		return minimumPaymentRate;
	}
	
	public void setMinimumPaymentRate(double minimumPaymentRate) {
		this.minimumPaymentRate = minimumPaymentRate;
	}
	
	public double getMinimumPaymentAmount() {
		return minimumPaymentAmount;
	}
	
	public void setMinimumPaymentAmount(double minimumPaymentAmount) {
		this.minimumPaymentAmount = minimumPaymentAmount;
	}

	@Id
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getExpirationYears() {
		return expirationYears;
	}

	public void setExpirationYears(int expirationYears) {
		this.expirationYears = expirationYears;
	}
}
